<?php
/*$trackbackData = array(
	'title' => 'NO.01 Trackback Test by LD ',
	'excerpt' => 	'If you can see this, don\'t tell others...',
	'url' => 'http://mifunny.info/how-to-obtain-the-flow-of-foreign-brush-google-adsense-229.html/trackback',
	'blog_name' => 'LD\'s Notepad',
	'trackback_url' => 'http://mifunny.info/friends'
	);

include "Services/Trackback.php"

$trackback = new Services_Trackback();

foreach($trackbackData as $k => $v) {
	$trackback->set($k, $v);
}

$ret = $trackback->send();
if(PEAR::isError($ret)){
	echo "ERROR, Trackback failed because:".$ret->getMessage();
}else{
	echo "Trackback sucessfully posted.";
}
*/
?>

<?php



$trackbackData = array(
	'title' => 'NO.01 Trackback Test by LD ',
	'excerpt' => 	'If you can see this, don\'t tell others...',
	'url' => 'http://mifunny.info/friends',
	'blog_name' => 'LD\'s Notepad',
	'charset' => 'UTF-8',
	'trackback_url' => 'http://mifunny.info/how-to-obtain-the-flow-of-foreign-brush-google-adsense-229.html/trackback'
	);

// include class
include "Services/Trackback.php";

// initialize new instance 
$trackback = new Services_Trackback();

// set object properties
foreach ($trackbackData as $k => $v) {
  $trackback->set($k, $v);
}

// send trackback
$ret = $trackback->send();
if (PEAR::isError($ret)) {
  echo "ERROR. Trackback failed because: " . $ret->getMessage();
} else {
  echo "Trackback successfully posted";
}
?>